using MediatR;
using Medical.Api.Write.Dto.BasicManagement.DeviceDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.DeviceDictionaryCommand
{
    /// <summary>
    /// 创建设备命令
    /// </summary>
    public class CreateEquipmentCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 设备信息
        /// </summary>
        public CreateEquipmentDto EquipmentData { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="equipmentData">设备数据</param>
        public CreateEquipmentCommand(CreateEquipmentDto equipmentData)
        {
            EquipmentData = equipmentData;
        }
    }
}